﻿namespace Forms
{
    using System;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms;

    using Forms.My;

    using Microsoft.VisualBasic.CompilerServices;

    [DesignerGenerated]
    public class frmSplashScreen : Form
    {
        #region Constants and Fields


        #endregion

        #region Constructors and Destructors

        [DebuggerNonUserCode]
        public frmSplashScreen()
        {
            base.Shown += this.frmSplashScreen_Shown;
            base.Load += this.frmSplashScreen_Load;
            this.InitializeComponent();
        }

        #endregion

        #region Properties

        private Label lblAdress;

        private Label lblDataBaseVersion;
      

        private Label lblProgName;
        

        private Label lblProgVersion;

        private Label lblSerialNo;

        #endregion

        #region Methods


        [DebuggerStepThrough]
        private void InitializeComponent()
        {
            this.lblAdress = new Label { Name = "lblAdress" };
            this.lblSerialNo = new Label { Name = "lblSerialNo" };
            this.lblDataBaseVersion = new Label { Name = "lblDataBaseVersion" };
            this.lblProgVersion = new Label { Name = "lblProgVersion" };
            this.lblProgName = new Label { Name = "lblProgName" };
            this.SuspendLayout();

            this.lblAdress.BackColor = Color.Transparent;
            this.lblAdress.ForeColor = Color.Black;
            this.lblAdress.Name = "lblAdress";
            
            this.lblSerialNo.BackColor = Color.Transparent;
            this.lblSerialNo.ForeColor = Color.FromArgb(0x81, 20, 0x1d);
            this.lblSerialNo.Name = "lblSerialNo";
            
            this.lblDataBaseVersion.BackColor = Color.Transparent;
            this.lblDataBaseVersion.ForeColor = Color.Gray;
            this.lblDataBaseVersion.Name = "lblDataBaseVersion";
            
            this.lblProgVersion.BackColor = Color.Transparent;
            this.lblProgVersion.ForeColor = Color.Gray;
            this.lblProgVersion.Name = "lblProgVersion";
            this.lblProgName.AutoEllipsis = true;
            
            this.lblProgName.BackColor = Color.Transparent;
            this.lblProgName.ForeColor = Color.FromArgb(0x80, 0x1d, 20);
            this.lblProgName.Name = "lblProgName";
            
            this.Controls.Add(this.lblAdress);
            this.Controls.Add(this.lblSerialNo);
            this.Controls.Add(this.lblDataBaseVersion);
            this.Controls.Add(this.lblProgVersion);
            this.Controls.Add(this.lblProgName);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "frmSplashScreen";
            this.ResumeLayout(false);
            this.PerformLayout();
        }

        private void frmSplashScreen_Load(object sender, EventArgs e)
        {
            this.TopLevel = true;
            this.TopMost = true;
            this.CenterToScreen();
        }

        private void frmSplashScreen_Shown(object sender, EventArgs e)
        {
            this.lblAdress.Text = MyProject.Forms.Main.cs.Manufacturer;
            this.lblProgName.Text = MyProject.Forms.Main.cs.ProductName;
            this.lblSerialNo.Text = MyProject.Forms.Main.cs.SerialNo;
            this.lblProgVersion.Text = "Programm - Version: " + MyProject.Forms.Main.cs.Version;
            this.lblDataBaseVersion.Text = "Datenbank-Version:  " + MyProject.Forms.Main.cs.DataBaseNeededVersion;
        }

        #endregion
    }
}